package cst.a810lw.zyfypt_810lw.Bean;

/**
 * Created by Neusoft on 2016/12/21.
 */

public class TcaseBean extends AmicoolBean{
    private String description;
    private int ressrcid;
    private String ressrcname;

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        TcaseBean tcaseBean = (TcaseBean) o;

        if (ressrcid != tcaseBean.ressrcid) return false;
        if (description != null ? !description.equals(tcaseBean.description) : tcaseBean.description != null)
            return false;
        if (ressrcname != null ? !ressrcname.equals(tcaseBean.ressrcname) : tcaseBean.ressrcname != null)
            return false;
        if (srcsc != null ? !srcsc.equals(tcaseBean.srcsc) : tcaseBean.srcsc != null) return false;
        if (srcscsize != null ? !srcscsize.equals(tcaseBean.srcscsize) : tcaseBean.srcscsize != null)
            return false;
        if (donesc != null ? !donesc.equals(tcaseBean.donesc) : tcaseBean.donesc != null)
            return false;
        if (donescsize != null ? !donescsize.equals(tcaseBean.donescsize) : tcaseBean.donescsize != null)
            return false;
        return content != null ? content.equals(tcaseBean.content) : tcaseBean.content == null;

    }

    @Override
    public int hashCode() {
        int result = description != null ? description.hashCode() : 0;
        result = 31 * result + ressrcid;
        result = 31 * result + (ressrcname != null ? ressrcname.hashCode() : 0);
        result = 31 * result + (srcsc != null ? srcsc.hashCode() : 0);
        result = 31 * result + (srcscsize != null ? srcscsize.hashCode() : 0);
        result = 31 * result + (donesc != null ? donesc.hashCode() : 0);
        result = 31 * result + (donescsize != null ? donescsize.hashCode() : 0);
        result = 31 * result + (content != null ? content.hashCode() : 0);
        return result;
    }

    private String srcsc;
    private String srcscsize;
    private String donesc;
    private String donescsize;
    private String content;

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public int getRessrcid() {
        return ressrcid;
    }

    public void setRessrcid(int ressrcid) {
        this.ressrcid = ressrcid;
    }

    public String getRessrcname() {
        return ressrcname;
    }

    public void setRessrcname(String ressrcname) {
        this.ressrcname = ressrcname;
    }

    public String getSrcsc() {
        return srcsc;
    }

    public void setSrcsc(String srcsc) {
        this.srcsc = srcsc;
    }

    public String getSrcscsize() {
        return srcscsize;
    }

    public void setSrcscsize(String srcscsize) {
        this.srcscsize = srcscsize;
    }

    public String getDonesc() {
        return donesc;
    }

    public void setDonesc(String donesc) {
        this.donesc = donesc;
    }

    public String getDonescsize() {
        return donescsize;
    }

    public void setDonescsize(String donescsize) {
        this.donescsize = donescsize;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
